var request = require('request');

request.post({
  headers: {'content-type' : 'application/json'},
  url:     'http://localhost:8081/api/customers',
  body:    {
  "firstname":"Adam",
  "lastname":"Johnson",
  "age":48,
  "id":5
}
}, function(error, response, body){
  console.log(body);
});
